package com.dslcode.cloud.common.model.order;

import com.dslcode.cloud.common.model.BaseModel;
import lombok.Data;

/**
 * Created by dongsilin on 2017/9/21.
 */
@Data
public class OrderCommon extends BaseModel {

    private Long orderId;
    private long shippingTime;
    private int shippingExpressId;// 配送公司ID
    private String orderMessage;// 订单留言
    private String deliverExplain;// 发货备注
    private Long addressId;// 发货地址ID
    private String reciverName;// 收货人姓名
    private String reciverInfo;// 收货人其他信息
    private int reciverProvinceId;// 收货人省级ID
    private int reciverCityId;// 收货人市级ID
    private String invoiceInfo;// 发票信息

    public OrderCommon(Long orderId, String reciverName, String reciverInfo) {
        this.orderId = orderId;
        this.shippingTime = 0;
        this.shippingExpressId = 0;
        this.orderMessage = "";
        this.deliverExplain = "";
        this.addressId = 0L;
        this.reciverName = reciverName;
        this.reciverInfo = reciverInfo;
        this.reciverProvinceId = 0;
        this.reciverCityId = 0;
        this.invoiceInfo = "";
    }

    public OrderCommon() {
    }
}
